[INFO] cloning repository https://github.com/emk/rust-slow-iteration-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emk/rust-slow-iteration-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Frust-slow-iteration-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Frust-slow-iteration-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f2ea535c506de87273be0529ef77b4ce8c19681b
[INFO] checking emk/rust-slow-iteration-demo against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Frust-slow-iteration-demo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/emk/rust-slow-iteration-demo
[INFO] finished tweaking git repo https://github.com/emk/rust-slow-iteration-demo
[INFO] tweaked toml for git repo https://github.com/emk/rust-slow-iteration-demo written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/emk/rust-slow-iteration-demo on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/emk/rust-slow-iteration-demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c3f8e79d249c92ccc4084232f7ec654c6deaa053cfad5ec0f55765b471f7d0b7
[INFO] running `Command { std: "docker" "start" "-a" "c3f8e79d249c92ccc4084232f7ec654c6deaa053cfad5ec0f55765b471f7d0b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3f8e79d249c92ccc4084232f7ec654c6deaa053cfad5ec0f55765b471f7d0b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3f8e79d249c92ccc4084232f7ec654c6deaa053cfad5ec0f55765b471f7d0b7", kill_on_drop: false }`
[INFO] [stdout] c3f8e79d249c92ccc4084232f7ec654c6deaa053cfad5ec0f55765b471f7d0b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97b8faee5f516e7d256e92d1b2d135a815b89fda95c217eccba89174be62f316
[INFO] running `Command { std: "docker" "start" "-a" "97b8faee5f516e7d256e92d1b2d135a815b89fda95c217eccba89174be62f316", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking rust-slow-iteration-demo v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/lib.rs:112:3
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[bench]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/lib.rs:176:3
[INFO] [stdout]     |
[INFO] [stdout] 176 | #[bench]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/lib.rs:229:3
[INFO] [stdout]     |
[INFO] [stdout] 229 | #[bench]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/lib.rs:112:3
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[bench]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/lib.rs:176:3
[INFO] [stdout]     |
[INFO] [stdout] 176 | #[bench]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/lib.rs:229:3
[INFO] [stdout]     |
[INFO] [stdout] 229 | #[bench]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]   --> src/lib.rs:74:18
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<'a> Buffer for BufferedReader<'a> {
[INFO] [stdout]    |      -- first declared here
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn next_line<'a>(&'a mut self) -> Option<&'a str> {
[INFO] [stdout]    |                  ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/lib.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |     offset: uint,
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `range` is private
[INFO] [stdout]   --> src/lib.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::iter::range;
[INFO] [stdout]    |                ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `range` is defined here
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/iter/mod.rs:466:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `streaming_for`
[INFO] [stdout]    --> src/lib.rs:214:14
[INFO] [stdout]     |
[INFO] [stdout] 214 | macro_rules! streaming_for {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/lib.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |     for _ in range(0u, 200) { result.push_str(LINE); }
[INFO] [stdout]    |                    ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]   --> src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | extern crate test;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]    = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | #![feature(macro_rules, trace_macros)]
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/lib.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn next_line<'a>(&'a mut self) -> Option<&'a str> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&'a mut BufferedReader<'_>) -> Option<&'a _>`
[INFO] [stdout]               found signature `fn(&'a mut BufferedReader<'_>) -> Option<&'a _>`
[INFO] [stdout] note: the lifetime `'a` as defined here...
[INFO] [stdout]   --> src/lib.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn next_line<'a>(&'a mut self) -> Option<&'a str>;
[INFO] [stdout]    |                  ^^
[INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined here
[INFO] [stdout]   --> src/lib.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<'a> Buffer for BufferedReader<'a> {
[INFO] [stdout]    |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:98:10
[INFO] [stdout]    |
[INFO] [stdout] 98 | impl<'a> Iterator<(String,String,String)> for CopyingParser<'a> {
[INFO] [stdout]    |          ^^^^^^^^ expected 0 generic arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item`
[INFO] [stdout]   --> src/lib.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 98 | impl<'a> Iterator<(String,String,String)> for CopyingParser<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Item = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]   --> src/lib.rs:74:18
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<'a> Buffer for BufferedReader<'a> {
[INFO] [stdout]    |      -- first declared here
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn next_line<'a>(&'a mut self) -> Option<&'a str> {
[INFO] [stdout]    |                  ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/lib.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |     offset: uint,
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `range` is private
[INFO] [stdout]   --> src/lib.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::iter::range;
[INFO] [stdout]    |                ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `range` is defined here
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/iter/mod.rs:466:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/lib.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |     for _ in range(0u, 200) { result.push_str(LINE); }
[INFO] [stdout]    |                    ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]   --> src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | extern crate test;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]    = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:113:27
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn copying_parser(b: &mut test::Bencher) {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             test::black_box(result);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:177:29
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn zero_copy_parser(b: &mut test::Bencher) {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:189:33
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 Some(line) => { test::black_box(line); }
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:230:39
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn replacement_iterator_trait(b: &mut test::Bencher) {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 238 |             test::black_box(line);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | #![feature(macro_rules, trace_macros)]
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]   --> src/lib.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn next_line<'a>(&'a mut self) -> Option<&'a str> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&'a mut BufferedReader<'_>) -> Option<&'a _>`
[INFO] [stdout]               found signature `fn(&'a mut BufferedReader<'_>) -> Option<&'a _>`
[INFO] [stdout] note: the lifetime `'a` as defined here...
[INFO] [stdout]   --> src/lib.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn next_line<'a>(&'a mut self) -> Option<&'a str>;
[INFO] [stdout]    |                  ^^
[INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined here
[INFO] [stdout]   --> src/lib.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<'a> Buffer for BufferedReader<'a> {
[INFO] [stdout]    |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:98:10
[INFO] [stdout]    |
[INFO] [stdout] 98 | impl<'a> Iterator<(String,String,String)> for CopyingParser<'a> {
[INFO] [stdout]    |          ^^^^^^^^ expected 0 generic arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item`
[INFO] [stdout]   --> src/lib.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 98 | impl<'a> Iterator<(String,String,String)> for CopyingParser<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Item = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&'a str` in the current scope
[INFO] [stdout]   --> src/lib.rs:76:32
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let result = self.file.slice(self.offset, self.offset + LINE.len());
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/lib.rs:80:26
[INFO] [stdout]    |
[INFO] [stdout] 80 |         Some(self.buffer.as_slice())
[INFO] [stdout]    |                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&'a str` in the current scope
[INFO] [stdout]   --> src/lib.rs:76:32
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let result = self.file.slice(self.offset, self.offset + LINE.len());
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/lib.rs:80:26
[INFO] [stdout]    |
[INFO] [stdout] 80 |         Some(self.buffer.as_slice())
[INFO] [stdout]    |                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:104:28
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 Some((line.slice(0, 3).to_string(),
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:104:28
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 Some((line.slice(0, 3).to_string(),
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 |                       line.slice(4, 7).to_string(),
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 |                       line.slice(4, 7).to_string(),
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:106:28
[INFO] [stdout]     |
[INFO] [stdout] 106 |                       line.slice(8, 11).to_string()))
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:106:28
[INFO] [stdout]     |
[INFO] [stdout] 106 |                       line.slice(8, 11).to_string()))
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 115 |     b.bytes = file.len() as u64;
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:116:7
[INFO] [stdout]     |
[INFO] [stdout] 116 |     b.iter(|| {
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:153:28
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 Some((line.slice(0, 3),
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/lib.rs:117:51
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let mut reader = BufferedReader::new(file.as_slice());
[INFO] [stdout]     |                                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:154:28
[INFO] [stdout]     |
[INFO] [stdout] 154 |                       line.slice(4, 7),
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:155:28
[INFO] [stdout]     |
[INFO] [stdout] 155 |                       line.slice(8, 11)))
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:153:28
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 Some((line.slice(0, 3),
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0308, E0412, E0496, E0599, E0603, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:154:28
[INFO] [stdout]     |
[INFO] [stdout] 154 |                       line.slice(4, 7),
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-slow-iteration-demo` (lib) due to 19 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:155:28
[INFO] [stdout]     |
[INFO] [stdout] 155 |                       line.slice(8, 11)))
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/str/mod.rs:1931:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 |     b.bytes = file.len() as u64;
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:180:7
[INFO] [stdout]     |
[INFO] [stdout] 180 |     b.iter(|| -> () {
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/lib.rs:181:51
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let mut reader = BufferedReader::new(file.as_slice());
[INFO] [stdout]     |                                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:232:5
[INFO] [stdout]     |
[INFO] [stdout] 232 |     b.bytes = file.len() as u64;
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]    --> src/lib.rs:233:7
[INFO] [stdout]     |
[INFO] [stdout] 233 |     b.iter(|| -> () {
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/lib.rs:234:51
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let mut reader = BufferedReader::new(file.as_slice());
[INFO] [stdout]     |                                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0308, E0412, E0496, E0599, E0603, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-slow-iteration-demo` (lib test) due to 34 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "97b8faee5f516e7d256e92d1b2d135a815b89fda95c217eccba89174be62f316", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97b8faee5f516e7d256e92d1b2d135a815b89fda95c217eccba89174be62f316", kill_on_drop: false }`
[INFO] [stdout] 97b8faee5f516e7d256e92d1b2d135a815b89fda95c217eccba89174be62f316
